<?php /* Smarty version 2.6.20, created on 2016-07-19 15:22:39
         compiled from tarento_apply_list.htm */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>合伙人申请表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../script/jquery-1.4.4.min.js"></script>
</head>
<body>
<div class="container">
        <div class="flow">
            <div class="itemtitle">
                <h3>合伙人申请表</h3>
            </div>
        </div>
        
        <div class="h35"></div>
        
        <form action="" method="get">
        <input type="hidden" name="m" value="product">
        <input type="hidden" name="s" value="tarento_apply_list.php">
        <table class="select_table">
            <tbody>
                <tr>
                    <td width="60">用户ID:</td>
                    <td width="100"><input id="member_id" type="text" name="member_id" class="w100" value="<?php echo $_GET['member_id']; ?>
" /></td>
                    <td width="60">销售类别:</td>
                    <td width="100">
                    <select name="sales_type">
                    	<option value="">全部</option>
                    	<?php $_from = $this->_tpl_vars['sales_type_cfg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>

                    	                    	<option value="<?php echo $this->_tpl_vars['list']; ?>
" <?php if ($_GET['sales_type'] == $this->_tpl_vars['list']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['list']; ?>
</option>


                    	<?php endforeach; endif; unset($_from); ?>



                    </select>

                    <td width="60">销售渠道:</td>
                    <td width="100">
                    <select name="sales_channel">
                    	<option value="">全部</option>
                    	<?php $_from = $this->_tpl_vars['sales_channel_cfg']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['list']):
?>

                    	                    	<option value="<?php echo $this->_tpl_vars['key']; ?>
" <?php if ($_GET['sales_channel'] == $this->_tpl_vars['key']): ?>selected<?php endif; ?> ><?php echo $this->_tpl_vars['list']; ?>
</option>


                    	<?php endforeach; endif; unset($_from); ?>



                    </select>
                    </td>
                    <td width="60">审核状态:</td>
                    <td width="100">
                    <select name="status">
                    	<option value="">全部</option>
                    	<option value="1" <?php if ($_GET['status'] == '1'): ?>selected<?php endif; ?>>审核中</option>
                    	<option value="2" <?php if ($_GET['status'] == '2'): ?>selected<?php endif; ?>>审核通过</option>
                    </select>
                    </td>
                    <td><input id="search" type="image" src="<?php echo $this->_tpl_vars['config']['weburl']; ?>
/image/admin/search.gif" /></td>
                </tr>
                
            </tbody>
        </table>
        </form>

    <table class="table product">
       <tbody>
       <tr class="header">
            <th>会员ID</th>
            <th>会员昵称</th>
            <th>性别</th>
            <th>生日</th>
            <th>年龄</th>
            <th>QQ</th>
            <th>微信</th>
            <th>类别</th>
            <th>渠道</th>
            <th>申请时间</th>
            <th>状态</th>
            <th></th>
        </tr>
        <?php $_from = $this->_tpl_vars['de']['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['list']):
?>
        <tr>
            <td><?php echo $this->_tpl_vars['list']['member_id']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['name']; ?>
</td>
            <td><?php if ($this->_tpl_vars['list']['sex']): ?>男<?php else: ?>女<?php endif; ?></td>
            <td><?php echo $this->_tpl_vars['list']['birthday']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['age']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['qq']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['weixin']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['sales_type']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['sales_channel']; ?>
</td>
            <td><?php echo $this->_tpl_vars['list']['create_time']; ?>
</td>
            <td><?php if ($this->_tpl_vars['list']['invite_code']): ?>已通过，邀请码：<?php echo $this->_tpl_vars['list']['invite_code']; ?>
<?php else: ?>审核中<?php endif; ?></td>
            <td><a href="javascript:;" onclick='tarento_apply_detail(<?php echo $this->_tpl_vars['list']['id']; ?>
);'>查看</a></td>
        </tr>
        <?php endforeach; else: ?>
        <tr>
            <td class="norecord" colspan="99"><i></i><span>暂无符合条件的数据记录</span></td>
        </tr>
        <?php endif; unset($_from); ?>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="99">
                    <div class="fl">每页最多显示： 20条</div>
                    <div class="page"><?php echo $this->_tpl_vars['de']['page']; ?>
</div>
                    <div class="fr">共有<?php echo $this->_tpl_vars['de']['count']; ?>
条记录</div>
                </td>
            </tr>
        </tfoot>
    </table>
</div>
<script>
	function tarento_apply_detail (id) {

		// 详情

		window.parent.iframe_form("tarento_apply_detail", '申请详情', 'module.php?m=product&s=tarento_apply_list.php&act=detail&id='+id, 850,500);
		return false;
	}


</script>
</body>
</html>